package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.LogOperationDTO;
import com.ayf.payment.game.api.dto.criteria.LogOperationCriteria;
import com.ayf.payment.game.api.entity.LogOperation;

import java.util.List;

public interface LogOperationService{

    /**
     * 添加登录记录
     *
     * @param logOperation
     * @return
     */
    void insert(LogOperation logOperation);

    /**
     * 登录记录查询
     *
     * @param loginHistory
     * @return
     */
    List<LogOperationDTO> selectAll(LogOperationCriteria criteria);


}
